﻿using System.Runtime.Serialization;

namespace SVTTranslateTextEngine.Core.Entries
{
    [DataContract]
    public class LanguageItem
    {
        /// <summary>
        /// Value For JSON data.languages.language
        /// </summary>
        [DataMember(Order = 0, Name = "language")]
        public string Language { get; set; }

        /// <summary>
        /// Value For JSON data.languages.name
        /// </summary>
        [DataMember(Order = 1, Name = "name")]
        public string Name { get; set; }
    }
}
